﻿using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRealize
{
  public interface IRLXLK
  {
        public Task<List<Human_File>> CXXLK(string sqlserver);


        public Task<List<Salary_Standard>> CXXCXLK(string sqlserver);

        public Task<int> AddHF(Human_File human_File, string sqlserver);


        //人力资源档案变更
        public Task<int> UpdateBGHFAsync(Human_File human_File, string sqlserver);


        public Task<Human_File?> SelectHFIDAsync(int huf_id, string sqlserver);


        public Task<int> UpdateHFAsync(Human_File human_File, string sqlserver, int id);


        //人力资源档案复核通过
        public Task<int> Update1HFAsync(Human_File human_File, string sqlserver);

        //人力资源档案复核不通过
        public Task<int> UpdateHFBTGAsync(Human_File human_File, string sqlserver);



        public Task<PagedResult<Human_File>> SearchHumanFiles(string sqlserver,
       string firstKindName,
       string secondKindName,
       string thirdKindName,
       string jobCategoryName,
       string jobName,
       DateTime? startDate,
       DateTime? endDate,
       int pageNumber = 1,
       int pageSize = 1);


    }
}
